#ifndef DRAWWINDOW_H
#define DRAWWINDOW_H

#include "common.h"
#include "drawcomponment.h"

class DrawWindow
{
public:
    DrawWindow(QAxObject * pCad,int windowType,std::map<QString,QString>* data);
    void Draw();
 private:
    QPointF *startPoint = new QPointF(0.0,0.0);
    QAxObject* cad;
    int type;
    std::map<QString,QString>* windowData;
    void DrawSingleWindow();
    void DrawDoubleWindow();
    void DrawTripleWindow();
};

#endif // DRAWWINDOW_H
